angular.module('tabCtrl', [])
    .controller('tabCtrl', ['$scope', '$state', function($scope, $state) {
        $scope.goHome = function() {
            $state.go('tab.dash');
        };
        $scope.goEruptive = function() {
            $state.go('tab.chats');
        };
        $scope.goHospital = function() {
            $state.go('tab.account');
        }
    }]);